//
//  StoreManager.h
//  iFoundIt
//
//  Created by Navid Shariat on 20/05/10.
//  Copyright 2010 QUT. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Address.h";
#import <CoreData/CoreData.h>
#import <CoreLocation/CoreLocation.h>

@interface StoreManager : NSObject <CLLocationManagerDelegate> {
    
	NSMutableArray *stores;
	NSManagedObjectContext  * managedObjectContext;
	CLLocationManager *locationManager;
}

@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain) CLLocationManager *locationManager;
@property (nonatomic, retain) NSMutableArray *stores;

#pragma mark methods
- (NSMutableArray *) getStores;
- (NSMutableArray *) findStores: (Address *) fromAddress : (int) radius;
- (void) populateWithTestData;


@end
